home *** CD-ROM | disk | FTP | other *** search
- /*
- ### integration one-stepper ###
- */
-
- int_onestep(pvx1,pvx2,pvx,ptime,t_step,n,choice)
- double *pvx1,*pvx2,*pvx,*ptime,t_step;
- int n,choice;
- {
- /* list of algorithms */
- switch(choice){
- case 0:
- euler_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 1:
- rungekutta_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 2:
- symp_ruth_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 3:
- symp_rruth_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 4:
- symp_euler_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 5:
- symp_forberz_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- case 6:
- user_int_one(pvx1,pvx,ptime,t_step,n);
- break;
- }
- }
-